.PHONY:all
all:tcpserver tcpclient
tcpclient:tcpclientMain.cpp
	g++ -o tcpclient tcpclientMain.cpp -ljsoncpp
tcpserver:tcpserverMain.cpp
	g++ -o tcpserver tcpserverMain.cpp -lpthread -ljsoncpp
.PHONY:clean
clean:
	rm tcpserver tcpclient